home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ..DCN-2692 floppy controller board
- http://www.iki.fi/mkl/dcn2692/
- PART 1
-
- DCN-2692 is suitable to use with
- Commodores as a 1581 "replica"
- This document was last modified on
- 30-dec-2007 ...
-
- Don't use the buggy first revision of
- the original 1581 ROM with a missing
- sei instruction that will lead to
- data loss! WWW for "DCN":
- http://www.iki.fi/mkl/dcn.html
- The above link is outside of this
- page you are currently viewing. There
- will be links to related information,
- such as data of the ICs used. Also
- follow the above link for other
- floppy controller projects &
- information. Currently, there are
- pictures of an early prototype of an
- 1581-clone.
-
-
- I don't have any of these controllers
- for sale at this moment. If you plan
- to build one, please check all the
- necessary parts are available (and at
- a reasonable cost) WD1772,for example
- is rare.
-
- Information about the board
- The controller is intended to be used
- with a low cost PC HD floppy drive
- unit.Not all PC HD floppy drives are
- fully compatible. For example, the
- JU-257A427P (I have rev. F) may fail.
- It does not respond fast enough to
- the RW-head track-to-track stepping
- commands, and therefore the RW-head
- ends up on a wrong track, which leads
- to data loss at worst.By changing the
- code on the ROM on the board, the
- WD1772 Floppy Disk Controller could
- be instructed to use the slowest
- setting for head-step. I have not
- tried this modification in practise.
- It is also rumoured, that the cheap
- drives of today are not of very high
- quality, and also not designed to be
- used with the obsolescent, hard to
- find, Double Density floppies.
-
- The floppy cable from the board to
- the drive is direct, without a twist
- in the cable. Number 1 pin of the
- cable and connector is near the edge
- of the board. Odd numbered pins are
- ground, except for pin 3. Number 3 of
- the connector is a key pin,and should
- be removed, if the cable has a filled
- location, that does not accept a pin.
- In a Commodore/Amiga DD-floppy
- mechanism, a few pins are different.
- I have included some information on
- pinouts EDITOR COMMENTS "I copied
- the document out below FILE:
- floppypinoutinfo.txt)
- FILE: floppypinoutinfo.txt
- HTTP://www.iki.fi/mkl/dcn.html
-
- Notes:
- The DD-drive used in 1581 has a
- slightly different pin out than "PC-
- drives".The same type of drive that
- are used in 1581 are also used in the
- Amiga 500."PC-drives" have disk
- change signal on pin 34, and 1581
- drives have it on pin 2. 1581 drive
- has "ready"-signal on pin 34. Pin 3
- can be a key-pin and removed from the
- pin header connector.
-
- ----- This 1581 PCB-connector info is
- collected from schematics page16-----
- ----- of "Service Manual, 1581, 3.5"
- Disk Drive, June 1987 PN-314982-01---
- Pin 1 not connected in this schematic
- Other odd numbered pins 3 trough 33
- are grounds
- {CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}
- : :
- :1 2: /Disk change
- :3 4: n.c.
- :5 6: n.c.
- :7 8: /Index pulse
- :9 10: /Drive select grounded
- :11 12: n.c.
- :13 14: n.c.
- :15 16: /Motor on
- :17 18: /Step direction
- :19 20: /Step
- :21 22: /Write data
- :23 24: /Write gate
- :25 26: /Track 0
- :27 28: /Write protect
- :29 30: /Read data
- :31 32: /Side 0
- :33 34: /Ready
- :{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}{CBM-@}:
-
-
- This is a cut from "Pin outs for
- various connectors in Real Life"
- Notice that the signals that are
- active low are not marked as such
- 6.5) Floppy
-
-
-
- 6.5.1)
- Floppy Disk Controller IDC-34 Male
-
-
- pin assignment pin assignment
- 1 GND 2 Density Select
- 3 GND 4 (reserved)
- 5 GND 6 (reserved)
- 7 GND 8 Index
- 9 GND 10 Motor Enable A
- 11 GND 12 Drive Sel B
- 13 GND 14 Drive Sel A
- 15 GND 16 Motor Enable B
- 17 GND 18 Direction
- 19 GND 20 Step
- 21 GND 22 Write Data
- 23 GND 24 Write Enable
- 25 GND 26 Track 0
- 27 GND 28 Write Protect
- 29 GND 30 Read Data
- 31 GND 32 Head Select
- 33 GND 34 Disk Change
-
-
-
- The activity LED on the drive unit
- will normally always be lit, because
- the drive select signal from the
- board to the drive unit will be
- normally always active, as in C-1581,
- where the drive mechanism doesn't
- have a LED of it's own. If a primary
- secondary floppy drive selection
- signal was implemented in the
- programmable logic device in this
- design, the LED on the drive would
- indicate which unit is selected at
- that time by the controller. To use
- HD-floppies on a HD drive instead of
- DD-floppies, You can put adhesive
- tape over the HD/DD-recognition hole.
- For some reason, without that trick
- the HD-floppies do not seem to work.
- I do not know however if this could
- cause any reliability problems.
-
- Anyways, You shouldn't use HD
- floppies on an DD only drive.
-
- Jumpers and headers on the board
- To select the device number for the
- Commodore serial bus, You can use the
- jumpers at the top right hand corner
- of the board.
-
- Jumper1 is the one which is
- closer to the board edge
- Device number Jumper2 Jumper1
- 8 Closed Closed
- 9 Closed Open
- 10 Open Closed
- 11 Open Open
-
- Next to these jumpers, there is also
- a pin header, this has the device
- select signals and outputs to connect
- two LEDs. The LEDs can be connected
- between +5V and the output. Series
- resistors for the LEDs are on the
- board. The Power LED in the CBM-1581
- has two functions: it is normally lit
- to indicate that power is on, and in
- case of error or something special
- like that, the led blinks from dim to
- bright and then back.
-
- I have omitted the resistor that
- keeps the power led dimly lit. This
- resistor is added to the board in
- version 0.1.0. The resistor can be
- added to the circuit even if there is
- no place for it on the board. It is
- connected between ground and the
- cathode of the power led, or pin 5 of
- the header. The value of the resistor
- could be something between about 100
- to 1000 ohms. Pin outs for the header
- are, from the top right corner of the
- PCB:
-
- 1 GND
- 2 Vcc (+5V) (Anodes (+) of
- LEDs can be connected to this)
-
- 3 DEVN0(device ID number select bit0)
- 4 DEVN1(device ID number select bit1)
- 5 Power LED (Cathode -)
- 6 Activity LED (Cathode -)
- 7 GND
-
- Powering the controller
- The supply voltage should be 5 volts
- +-5% (4.75 - 5.25) at a max current
- of about 1 ampere (could be much less
- actually). The drive mechanism needs
- roughly that (it takes more current
- when the motor starts to spin than
- when the drive is idle.) At the input
- there is a fuse, this will prevent
- smoke coming out of somewhere,in case
- of short-circuit. You could use a
- resettable poly switch type fuse, but
- the fuse needs to be fast acting to
- avoid burnt PCB traces. It is also
- possible to replace the fuse with a
- wire link, but then the protection
- will be lost. Across the supply
- voltage, after the fuse, there is a
- zener-diode or a transient voltage
- suppressor diode on board, which
- starts to conduct if the supply
- voltage goes too much over 5.25 volts
- (at 5.6 - 6.8 maybe) or below 0 volts
- with respect to ground. This part can
- be omitted, but then the protection
- is missing as well.
-
- 8520A vs 6526A CIA interface adapter
- IC:s MOS/CSG CIA:s 8520 and 6526 are
- quite similar devices. 8520 does not
- have the same "TOD"-clock that 6526
- does have. 8520 seems to have a more
- powerful output at some of the pins,
- where as outputs from 6526 are
- capable of sinking only 3.2 mA (min.)
- or sourcing 200 uA (min.) 1 mA (typ.)
- That is the reason why there are some
- extra buffers from the signals from
- CIA to Floppy-connector. The original
- C-1581 uses a 8520A. The letter A in
- 8520A or 6526A means that the chips
- are rated for 2 MHz. Links to more
- information can be found here
- http://www.students.tut.fi
- /{$7e}leinone3/dcn.html
-
- WD1772 vs WD1770 floppy controller
- IC:s I have only used this controller
- with WD1772. WD1770 is quite
- compatible, but it has a few
- differences. In the 1581 schematic it
- suggested that the 2 MHz PHI2 clock
- is connected to pin 19 of 8520A CIA,
- when WD1770 is used. This pin is the
- input for the counter, this is
- different between 6526 and 8520, so
- the combination of 6526 and WD1770
- might possibly not work? On DCN-2692,
- the pin 19 is tied to VCC voltage
- level. AFAIK, Commodore started using
- WD1772 instead of WD1770, when it was
- discovered that some of the WD1770:s
- were faulty, and these could corrupt
- data on disk.
-
- Continued in part 2
-
-
-